﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013C3 RID: 5059
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TextJoinSaveScRsp : IMessage<TextJoinSaveScRsp>, IMessage, IEquatable<TextJoinSaveScRsp>, IDeepCloneable<TextJoinSaveScRsp>, IBufferMessage
	{
		// Token: 0x17003FC8 RID: 16328
		// (get) Token: 0x0600E293 RID: 58003 RVA: 0x0025D8C1 File Offset: 0x0025BAC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TextJoinSaveScRsp> Parser
		{
			get
			{
				return TextJoinSaveScRsp._parser;
			}
		}

		// Token: 0x17003FC9 RID: 16329
		// (get) Token: 0x0600E294 RID: 58004 RVA: 0x0025D8C8 File Offset: 0x0025BAC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TextJoinSaveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FCA RID: 16330
		// (get) Token: 0x0600E295 RID: 58005 RVA: 0x0025D8DA File Offset: 0x0025BADA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TextJoinSaveScRsp.Descriptor;
			}
		}

		// Token: 0x0600E296 RID: 58006 RVA: 0x0025D8E1 File Offset: 0x0025BAE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinSaveScRsp()
		{
		}

		// Token: 0x0600E297 RID: 58007 RVA: 0x0025D8F4 File Offset: 0x0025BAF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinSaveScRsp(TextJoinSaveScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.textItemConfigId_ = other.textItemConfigId_;
			this.textItemId_ = other.textItemId_;
			this.eANJBBEKKII_ = other.eANJBBEKKII_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E298 RID: 58008 RVA: 0x0025D948 File Offset: 0x0025BB48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinSaveScRsp Clone()
		{
			return new TextJoinSaveScRsp(this);
		}

		// Token: 0x17003FCB RID: 16331
		// (get) Token: 0x0600E299 RID: 58009 RVA: 0x0025D950 File Offset: 0x0025BB50
		// (set) Token: 0x0600E29A RID: 58010 RVA: 0x0025D958 File Offset: 0x0025BB58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003FCC RID: 16332
		// (get) Token: 0x0600E29B RID: 58011 RVA: 0x0025D961 File Offset: 0x0025BB61
		// (set) Token: 0x0600E29C RID: 58012 RVA: 0x0025D969 File Offset: 0x0025BB69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextItemConfigId
		{
			get
			{
				return this.textItemConfigId_;
			}
			set
			{
				this.textItemConfigId_ = value;
			}
		}

		// Token: 0x17003FCD RID: 16333
		// (get) Token: 0x0600E29D RID: 58013 RVA: 0x0025D972 File Offset: 0x0025BB72
		// (set) Token: 0x0600E29E RID: 58014 RVA: 0x0025D97A File Offset: 0x0025BB7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextItemId
		{
			get
			{
				return this.textItemId_;
			}
			set
			{
				this.textItemId_ = value;
			}
		}

		// Token: 0x17003FCE RID: 16334
		// (get) Token: 0x0600E29F RID: 58015 RVA: 0x0025D983 File Offset: 0x0025BB83
		// (set) Token: 0x0600E2A0 RID: 58016 RVA: 0x0025D98B File Offset: 0x0025BB8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string EANJBBEKKII
		{
			get
			{
				return this.eANJBBEKKII_;
			}
			set
			{
				this.eANJBBEKKII_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x0600E2A1 RID: 58017 RVA: 0x0025D99E File Offset: 0x0025BB9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TextJoinSaveScRsp);
		}

		// Token: 0x0600E2A2 RID: 58018 RVA: 0x0025D9AC File Offset: 0x0025BBAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TextJoinSaveScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.TextItemConfigId == other.TextItemConfigId && this.TextItemId == other.TextItemId && !(this.EANJBBEKKII != other.EANJBBEKKII) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E2A3 RID: 58019 RVA: 0x0025DA1C File Offset: 0x0025BC1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.TextItemConfigId != 0U)
			{
				num ^= this.TextItemConfigId.GetHashCode();
			}
			if (this.TextItemId != 0U)
			{
				num ^= this.TextItemId.GetHashCode();
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				num ^= this.EANJBBEKKII.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E2A4 RID: 58020 RVA: 0x0025DAA8 File Offset: 0x0025BCA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E2A5 RID: 58021 RVA: 0x0025DAB0 File Offset: 0x0025BCB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E2A6 RID: 58022 RVA: 0x0025DABC File Offset: 0x0025BCBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TextItemConfigId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.TextItemConfigId);
			}
			if (this.TextItemId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.TextItemId);
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				output.WriteRawTag(82);
				output.WriteString(this.EANJBBEKKII);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E2A7 RID: 58023 RVA: 0x0025DB54 File Offset: 0x0025BD54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.TextItemConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextItemConfigId);
			}
			if (this.TextItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextItemId);
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.EANJBBEKKII);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E2A8 RID: 58024 RVA: 0x0025DBE0 File Offset: 0x0025BDE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TextJoinSaveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.TextItemConfigId != 0U)
			{
				this.TextItemConfigId = other.TextItemConfigId;
			}
			if (other.TextItemId != 0U)
			{
				this.TextItemId = other.TextItemId;
			}
			if (other.EANJBBEKKII.Length != 0)
			{
				this.EANJBBEKKII = other.EANJBBEKKII;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E2A9 RID: 58025 RVA: 0x0025DC5D File Offset: 0x0025BE5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E2AA RID: 58026 RVA: 0x0025DC68 File Offset: 0x0025BE68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 64U)
					{
						this.TextItemConfigId = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.TextItemId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 82U)
					{
						this.EANJBBEKKII = input.ReadString();
						continue;
					}
					if (num == 112U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040059A1 RID: 22945
		private static readonly MessageParser<TextJoinSaveScRsp> _parser = new MessageParser<TextJoinSaveScRsp>(() => new TextJoinSaveScRsp());

		// Token: 0x040059A2 RID: 22946
		private UnknownFieldSet _unknownFields;

		// Token: 0x040059A3 RID: 22947
		public const int RetcodeFieldNumber = 14;

		// Token: 0x040059A4 RID: 22948
		private uint retcode_;

		// Token: 0x040059A5 RID: 22949
		public const int TextItemConfigIdFieldNumber = 8;

		// Token: 0x040059A6 RID: 22950
		private uint textItemConfigId_;

		// Token: 0x040059A7 RID: 22951
		public const int TextItemIdFieldNumber = 9;

		// Token: 0x040059A8 RID: 22952
		private uint textItemId_;

		// Token: 0x040059A9 RID: 22953
		public const int EANJBBEKKIIFieldNumber = 10;

		// Token: 0x040059AA RID: 22954
		private string eANJBBEKKII_ = "";
	}
}
